<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="product" content="Metro UI CSS Framework">
    <meta name="description" content="Simple responsive css framework">
    <meta name="author" content="Sergey S. Pimenov, Ukraine, Kiev">

    <link href="/css/metro-bootstrap.css" rel="stylesheet">
    <link href="/css/metro-bootstrap-responsive.css" rel="stylesheet">
    <link href="/css/icoFont.css" rel="stylesheet">
    <link href="/css/docs.css" rel="stylesheet">
    <link href="/css/prettify.css" rel="stylesheet">

    <title>Metro UI CSS : Metro Bootstrap CSS Library</title>
</head>
<body class="metro">
<header class="bg-dark" data-load="header.html"></header>
<div class="container">
    <h1>
        <a href="/"><i class="icon-arrow-left-3 fg-darker smaller"></i></a>
        Edit Device Data
        <small class="on-right"></small>
    </h1>


    <div class="span10">
        <p class="description">
            <code></code> <code></code>.
        </p>

        <h2 id="_default"><i class="icon-accessibility on-left"></i></h2>

        <div class="example">

            <fieldset>
                <?php echo validation_errors(); ?>

                <?php echo form_open('devicecontroller/updateData') ?>

                <label>Device ID</label>
                <div class="input-control text" data-role="input-control">
                    <input readonly="readonly" type="text" name="device_id" placeholder="Device ID" value=<?php echo $datareceived['id']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Serial ID</label>

                <div class="input-control text" data-role="input-control">
                    <input readonly="readonly" type="text" name="serial_id" placeholder="Serial ID" value=<?php echo $datareceived['serail_id']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Invoice ID</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="invoice_id" placeholder="Invoice ID" value=<?php echo $datareceived['invoice_id']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Disk</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="disk" placeholder="Disk" value=<?php echo $datareceived['disk']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Memory</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="memory" placeholder="Memory" value=<?php echo $datareceived['memory']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Processor</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="processor" placeholder="Processor" value=<?php echo $datareceived['processor']?> >
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Purchase Date</label>

                <div class="input-control text" data-role="input-control">
                    <input type="date" name="purchase_date" placeholder="Purchase Date" value=<?php echo $datareceived['purchase_date']?> >
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Replacement Date</label>

                <div class="input-control text" data-role="input-control">
                    <input type="date" name="replacement_date" placeholder="Replacement Date" value=<?php echo $datareceived['replacement_date']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Waranty Expiry</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="waranty_expiry" placeholder="Waranty Expiry" value=<?php echo $datareceived['waranty_expiry']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Waranty Years</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="waranty_years" placeholder="Waranty Years"value=<?php echo $datareceived['waranty_years']?> >
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>

                <label>Type</label>
                <div class="input-control text" data-role="input-control">
                        <input type="text" name="type" placeholder="Type(Ex. Macbook Or Dell)" autofocus>
                        <button class="btn-reveal" tabindex="-1"></button>
                </div>

                <label>Status</label>
                 <div class="input-control text" data-role="input-control">
                        <input type="text" name="status" placeholder="Status(In-stock,Allocated,Dead)" autofocus>
                        <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Region</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="region" placeholder="Region" value=<?php echo $datareceived['region']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Location</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="location" placeholder="Location" value=<?php echo $datareceived['location']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <label>Comments</label>

                <div class="input-control text" data-role="input-control">
                    <input type="text" name="comments" placeholder="Comments" value=<?php echo $datareceived['comments']?>>
                    <button class="btn-reveal" tabindex="-1"></button>
                </div>
                <input type="submit" name="submit" value="Update Data" />
                </form>
            </fieldset>

        </div>
    </div>
</div>
</body>
</html>